package com.lcf.system.vo.tenantUser;

import com.lcf.framework.annotation.DictTable;
import com.lcf.framework.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 租户-用户(SysTenantUser)表实体类
 *
 * @author lcf
 * @since 2025-03-02 23:00:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysTenantUserPageVO extends BaseVO {
    //租户id
    @Schema(description = "租户id")
    private Long tenantId;
    //用户id
    @Schema(description = "用户id")
    @DictTable(tableName = "sys_user",
            primaryKey = "id",
            fields = {"name", "mobile"},
            nameField = {"name", "mobile"})
    private Long userId;
    //用户姓名
    @Schema(description = "姓名")
    private String name;
    //手机号码
    @Schema(description = "手机号码")
    private String mobile;
}

